PaymentPlugins\WooCommerce\PPCP\Payments\Gateways\GooglePayGateway S

Total Complexity 43
Dependencies 4
Dependents 2
Total lines 606
Lines of code 447
Logical lines of code 88
Comment lines 47
Methods 20
Properties 7

Methods 20

Method Rating Maintainability Complexity Lines of code
init_form_fields()
B
25
4 229
get_payment_method_data()
A
40 10 58
get_formatted_shipping_label()
S
59 6 13
get_shipping_option()
S
62 3 11
get_display_item()
S
59 2 15
get_payment_button_locale()
S
64 3 10
init_supports()
S
58 1 18
get_product_form_fields()
S
64 2 9
get_admin_script_dependencies()
S
64 1 12
__construct()
S
65 1 8
get_checkout_script_handles()
S
67 1 9
get_express_checkout_script_handles()
S
67 1 9
get_cart_script_handles()
S
69 1 8
get_product_script_handles()
S
69 1 8
get_minicart_script_handles()
S
69 1 8
express_checkout_fields()
S
83 1 5
get_display_item_for_product()
S
68 1 7
get_supported_currencies()
S
79 1 3
is_product_section_enabled()
S
74 1 4
validate_paypal_order()
S
80 1 3